Skip to content

Conversation

@artinflight
Copy link
Owner

{
"task_id": "1.2.0",
"task_title": "Scaffold Block Theme & Convert Front Page (Preserve Design)",
"objective": "Begin migration to a block theme without changing the approved look.",
"context": "Repo currently uses classic PHP templates (front-page.php, header.php, footer.php, archive-project.php, single-project.php). We are moving to block templates while preserving the visual output.",
"constraints": [
"Do not remove existing PHP templates; keep for reference.",
"Do not add theme.json in this task (that is 1.3.0).",
"Only use core blocks and inline/block attributes (no custom blocks).",
"Do not touch server/DNS/CI configuration."
],
"requirements": [
"Ensure theme has directories: templates/ and parts/ at the theme root.",
"Create parts/header.html and parts/footer.html that visually match header.php and footer.php (logo/title + nav; minimal footer with contact + socials).",
"Create templates/front-page.html that matches front-page.php layout (vertical scrolling hero/intro + portfolio preview).",
"Add a minimal templates/index.html so the theme is recognized as a block theme (include header/footer parts and a post-content block).",
"Leave the original PHP files in place for reference."
],
"acceptance_criteria": [
"With the theme active, the front page renders with visual parity to the current PHP version (tiny spacing differences acceptable).",
"Header and footer block parts match the approved design.",
"No browser console errors.",
"Before/after screenshots attached to the PR showing parity."
],
"file_scope": [
"templates/index.html",
"templates/front-page.html",
"parts/header.html",
"parts/footer.html",
"(read-only reference) front-page.php, header.php, footer.php"
],
"env_notes": [
"Preview at http://nano.local on the Pi.",
"VK develops on Windows → pushes branch to GitHub → Pi fetches branch into ~/docker/network/wp-nano/theme for live preview.",
"Do not modify Nginx/Pi-hole or other services for this task."
],
"post_task_actions": [
"Update README.md status and changelog with 1.2.0 details.",
"Open PR titled: "1.2.0 Block scaffold + front page conversion (visual parity)"."
]
}

@artinflight
Copy link
Owner Author

@codex check work

@chatgpt-codex-connector
Copy link

To use Codex here, create an environment for this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants